package org.tlipoca.smcomment.client;

import feign.Param;
import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-article")
public interface ArticleClient {

    @GetMapping("/article/exists")
    Result<Boolean> getArticleExists(@RequestParam("articleId") Long articleId);
}
